
package ast;

public class MethodBodyNode extends Node
{
    
    public Node var;
    public Node stmt;
    public Node returnStmt;
    
    public MethodBodyNode(List v, List st, ReturnStmtNode rs)
    {
        this.var = v;
        this.stmt = st;
        this.returnStmt = rs;
    }
    
    public Object accept(Visitor v)
    {
        return v.visit(this);
    }

}
